const status = {
  state: {
    tab: 's'
  },
  mutations: {
    SWITCH_TAB: (state, tabName) => {
      state.tab = tabName
    }
  },
  actions: {
    switchTab: ({ commit }, tabName) => {
      commit('SWITCH_TAB', tabName)
    }
  }
}

export default status
